package com.zznzzn.myweb.service;

import com.zznzzn.myweb.pojo.File;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface FileService {
    public String receiveAvatar(MultipartFile file,int size);
    public String receivePic(MultipartFile file,int size);
    public int setAvatar(String uuid, String filepath,String color);
    public void deleteLocalFile(String path,boolean isAvatar);
    public List<String> receivePictures(MultipartFile[] files, String watermask);
    public int insertFile(File file);
    public int deleteFile(String fileid);
}
